Handle missing keys nicely when getting json data.

Use our overloaded index operator instead of json's which doesn't like key misses.