got this json stuff to work on XType
curl --request POST --header "Content-Type: text/plain" --data '{}'
http://localhost:9000/json/xtype/add
==>
{"model":{"id":50,"name":"dummy","description":"just
created","xvalue":"dummy","created_at":"2014-02-18
03:32:06.927"},"addon":{"displayname":"dummy.dummy","edittemplate":[{"attribute":"name","editmode":"input"},{"attribute":"description","editmode":"input"},{"attribute":"xvalue","editmode":"input"}],"addurl":"/json/logicalaction/add","deleteurl":"/json/locialaction/delete","updateurl":"/json/logicalaction/update"}}
handling XObject and LogicalAction via Json