Fix for incorrect serializer settings

Previously the string 'JSON' was being passed to the serializer attribute instead of the instantiated object.
This returns the actual object instead.