object stringify on write