Setting API default format to JSON and disabling pagination