digest using JSON, digest JSON from URL