Add residual dump utility