Explicitly define json format for api_call helper.