js.plated_chunks.merge_namespace
chunks = plated_chunks.merge_namespace(dat)
Merge all of the namespaces together, along with the dat, then return this new set of chunks for easy lookup it should be safe to modify the output merged chunks without accidentally changing anything in the namespace.
This gives us a final chunks object that we can use to build the output page.