Utils for HTML substitutions. Fix the creation of objects when listing results.