Make the create object work with custom serializer