Based on the type of member to be added, the key differs:
- Number: value as is
- String: value as is
- Set: String representation of set. Example: {1, 2}
- Array: Array(array_serialization)
- Object: Class\Name(object_hash)
- Resource: Resource(Resource id #)
- Null: ''