Serializer.as_json/1 should return adapted json.