When JSON is used as a serializer types_json.phpt fails.
When JSON is used as a serializer types_json.phpt fails.