Rohit: Controller added for JSON support