fix: nlohmann::adl_serializer for std::optional
#9147
Merged
nlohmann::adl_serializer for std::optional
#9147