Auto merge of #1174 - Gankro:fix-json, r=kvark
Auto merge of #1174 - Gankro:fix-json, r=kvark

make JSON frame writer use proper payload API

It's been broken for a while because the format changed; this should prevent that from ever happening again (without causing compiler errors).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1174)
<!-- Reviewable:end -->

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender