Work on jsonrewriter