Flatten nested JSON objects into dot-notation keys (e.g., user.id) or restore them back to structured objects.
user.id
1