Add support for the primitive type arrays, and additionally switch `ByteString` to `String` instead of `Vec<u8>` according to the online documentation.