fixed issue #66: Add support for byte arrays in conversion