escape strings in postmessage
Merge branch 'topic/postMessage' into next