This is very similar to storeAsBinary. If this is set to true, then
keys and values are serialized and stored as a MarshalledValue which
contains the resulting byte[]. So rather than restrict to just
byte[] types, we could restrict to:
* byte[] or any other primitive, primitive array or String
* OR, if storeAsBinary is set to true.
+1.