'Return the nested data at the given path.
For instance:
data = {\'foo\': [\'bar\', \'baz\']}
path = [\'foo\', 0]
==> \'bar\''

def _path_get(self, data, path):

    d = data
    for step in path:
        d = d[step]
    return d
