Support for string fields

Add support for string fields, i.e. fields with endian = 'string'.