increase replacer to two spaces in endpoint partial JSON.stringify