removed custom safe json stringify