make sure that the content returned in the menu admin controller is json encoded if not a json response object