Fix typo in json.loads

Referred to file object instead of line within file