added support for byte arrays ... fixed issue with resources retrieved from the datastore not having their attribute values set to the corresponding primitive Java type