Small tweak for dkjson so it works with ns2