CodeItem id to Json format

/data POST only returns the id of the item inserted.