Also enabling encoding of byte arrays