Proposed JSON communication, some structure in controller, changed handler to received a raw JSON