Change the request format "flat" to "flat.json".