Take into account the binary raw type

I met an error when I was using the deserialiser with non string raw type with a string key in a map structure.

I add a test to check whether the constructing of the string with UTF8 encoding succeeds or not. If not, I use NSData or NSMutableData regarding the options passed as hosting structure.