Added a serializer
Schemas can now be serialized