The format returned by the controller to the route handler is ensured to be an HttpApiResponse object, event though the controller returns a plain Json object. The controller can opt to create an HttpApiResponse itself to gain control over the status code