Create controller for newjson