Remove namespace and errorStackTrace fields