Fix: `format` stringify json error

Json have hidden cycle call. Add try catch as well as `util.format` in nodejs