Added check in reading pool configs so only .json files are read.