A config file loader that supports json and yaml