Since the router is sending and receiving JSON payloads to your co-processor via a POST, you will always have to deserialize and serialize the JSON to and from your POJO.