Add a sanity check to try to handle problemt of not passing SerializerProvider via schema introspection