// ValueComposite deserialization
JSONObject jsonObject = (JSONObject) json;
String type = jsonObject.getString( "_type" );
ValueDescriptor valueDescriptor = module.valueDescriptor( type );
return deserialize( json, valueDescriptor.valueType() );
} else
{
String serializedString = (String) json;
byte[] bytes = serializedString.getBytes( "UTF-8" );
bytes = Base64Encoder.decode( bytes );