reading GF dict into datastructure