Add format=json_pretty to API calls.
Use new json_pretty format for JSON button on tables.