Improve JSON handling.

 - The ~= operator is now enabled
 - Using opIndex to create a new field has received a workaround for a DMD bug
 - writeJsonString and writePrettyJsonString have been merged + unittests added