using json for data instead of a csv