Correctly download and deserialize JSON from back end