Convert bytearrays to lists of numbers in nbt_to_dict