code to properly parse JSON download file from Socrata