Fix to run marshall/unmarshal methods only if logging level is TRACE.