Specified default order of preference of response format, json over api.