def METHOD_NAME():
    template = {
        "s": "profile@$a",
        "a": "profile@b.1.$c"
    }
    dot = DotAccessor(profile={"$a": [1, 2], "b": [1, {"$c": 10}]}, session={"b": 2}, event={})
    t = DictTraverser(dot)
    result = t.reshape(reshape_template=template)
    assert result == {'s': [1, 2], 'a': 10}