store basic type attribute values as string representation, other types as base64-encoded JSON