Updated data array and added support for single JSON file