first go at the Api controller
added withJson