Make the serializers part of the JSONSchema class