Flatten nested objects to dot paths and back.
Waiting for JSON
Example: {"user":{"name":"John"}} ⇄ {"user.name":"John"}