Support buckets, i.e. path templating for lists
Refactor and simplify configuration parsing