Converts a GEO metadata file into a hierarchical structure of dictionaries (Python)