Squeezes parent and child contexts into one, before processing the template

Allows for nesting attributes with different names.