Ensure consistent printing of hash members in templates