post process config file to simplify datastructures