Hax for Cloudant (add w=3 to puts).