Split out base controller, added JSON as format.