fixes query so it can take a generator in in field methods, and also moves jsonable() into prom.Orm