[iframely.js] fix iframe messaging using JSON