started working on JSONwriter package