Added JSON parsing resilience for when DM API goes down (often) in a glorious 404 Not Found.