Python Bytes From Array To Hashmap