Fixing a bug in the Serializer that caused the API to break