Move to using methods that are not deprecated and unescape the hash when using it as default value.
Move to using methods that are not deprecated and unescape the hash
when using it as default value.

measurement-factory/functional-text-sandbox,measurement-factory/functional-text-sandbox,measurement-factory/functional-text-sandbox