no need for the (). Just if json['type']...