add unmarshalling methods to ASN1 structures