Put quotes around reserved keys

Unescaped reserved object keys were causing some issues in Webkit whereby the library would fail to be parsed by the browser. This was only the case in certain situations which I never fully debugged, but explicitly casting the keys as strings solved the problem.