Manipulate Nested Map

Do you know about Kernel.put_in/2 and Kernel.put_in/3? It might be just what you are looking for.