Downloading and storing JSON into coredata.