Adding new controller to JSON Api plugin