Replacing {format} with json Fix #1

Swagger might use {format} suffix instead of json, breaking the fetching of schema
Merge pull request #2 from mvpasarel/master

Replacing {format} with json Fix #1