Updated so it reads json content into memory instead of downloading it
to disk.