MESOS/MARATHON: Switched to a callable check for r.json