WTSN-22 added conversions and hash functions