Added missing require json.