switch (t) {
case BIG_DECIMAL: properties.put(key, value.asBigDecimal());
break;
case BIG_INTEGER: properties.put(key, value.asBigInteger());
break;
case BOOLEAN: properties.put(key, value.asBoolean(false));
break;
case BYTES: properties.put(key, value.asBytes());
break;