curl --request POST --header "Content-Type: text/plain" --data '{"id":
1, "name": "activity", "description": "active or inactive","value":
"activity", "created_at": "2014-02-12 14:38:37.373"}'
http://localhost:9000/json/xtype/update

returns:

20:07:08.825 INFO  - Application started (Dev)
20:07:08.844 DEBUG - CXType updateJson (POST) bodyText: {"id": 1,
"name": "activity", "description": "active or inactive","value":
"activity", "created_at": "2014-02-12 14:38:37.373"}
20:07:08.850 ERROR - Cannot invoke the action, eventually got an error:
spray.json.DeserializationException: JSON object expected