fix for params.onlyKeys in model.all()