use serializers for json