Deep copying of htmldict, made call in HTMLOutputter more idiomatic