def __dir__(self):
    return (dir(super(RDFStruct, self)) +
            [x.name for x in self.type_infos])
:returns: JSONized REST object.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/RDFStruct.__dir__--crossover with--dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/api/v1/handlers/base.py/SingleHandler.GET