code: def _put_buffers(state, buffer_paths, buffers):
      
      for buffer_path, buffer in zip(buffer_paths, buffers):
          # we'd like to set say sync_data['x'][0]['y'] = buffer
          # where buffer_path in this example would be ['x', 0, 'y']
          obj = state
          for key in buffer_path[:-1]:
              obj = obj[key]
          obj[buffer_path[-1]] = buffer
docs: The inverse of _remove_buffers, except here we modify the existing dict/lists.
      Modifying should be fine, since this is used when state comes from the wire.