guard against missing json