improve index of resources

1. use `list comprehensions` instead of `generator expressions` to save links
2. support filtering, pagination, sorting, fields-selection