Optimize static lists

Instead of assembling the resource payload in the handler, it can be
pre-assembled during the data preparation stage.