update how config data is picked up from json