Fix invalid Swagger in YAML values
Fix invalid Swagger in YAML values

The original fix failed because though the Keys were now strings, some
of the values for path variables were also symbols.
Psych does have a safe_load which has a whitelist of classes but it does
not have a safe_dump mode. We could have used deep_transform_values and
manually converted the classes we did not want, but why risk a buggy
implementation when JSON.generate works just fine?

domaindrivendev/swagger-rails,domaindrivendev/swagger-rails,domaindrivendev/swagger-rails