794 transit decode json

Closes #794 and #796