Support dtl loop over objects assigning key/value pairs.

Refer #17251