use keys instead of ids for pagination in model list