add hashmap option to template rewrite?

do we want -> template(

Unknown macro: {a map expr}

) so people can send in a hashmap?