Refactor Config FileLoader for json to decode as array
Minor refactoring