AngularJS JSON serializer instead of native JSON