JSON Writer syntax fixes