Sony sanitize bootstrap data

Does an escape/unescape around the bootstrapping process to prevent XSS.
Can we replace this with a `bind`?