add some helpers to serialize more quickly between bytestring and high level ACN'ed object.