Fix JSON format according to https://docs.services.mozilla.com/storage/a...

This will solve https://bugzilla.mozilla.org/show_bug.cgi?id=847178

And fix data format (https://docs.services.mozilla.com/storage/apis-1.1.html)