Pig converter from bytearray to chararray