Implement helper class for reading JSON files.