add support for handling strings and binary data