Fix render-items for json.
wip: edit, save and cancel form editing.