added doctojson without cut fields
fixed commands now use doctojson
transaction roundtrip java/js  works