Added some basic error checking for invalid JSON, which notifies user then throws NSAssert and if an image is not present on the server so cannot be got