removed redundant commit/rollback in promise
wip : tojson