adding support to JSON file, no need to parse CSV