Fix - accept application/json as content type

Makes the serializer to accept application/json content type.