Using JSON serializers as should be