Make json the only API output option

Removes the trailing `.` and the option to specify a non-json response format.