Replacing {format} with json Fix #1

Swagger might use {format} suffix instead of json, breaking the fetching of schema