transfer data to iframe as stringified json