Add custom serializer to test_models.rb