             dataReal: arrayFixtures.testsHeaders.headersRealFailChanged.dataReal
             dataExpected: arrayFixtures.testsHeaders.headersRealFailChanged.dataExpected
             gavelResult: arrayFixtures.testsHeaders.headersRealFailChanged.gavelResult
+            usePointers: false
           }
           result = jsonResultConverter.getLinesFromAmandaResults()
-          result = JSON.parse JSON.stringify result
+          result = clone result, false
           assert.deepEqual result, expectedOutput
 
     describe 'getLinesFromResults', () ->

            dataReal: pointerFixtures.testsHeaders.headersRealFailChanged.dataReal
            dataExpected: pointerFixtures.testsHeaders.headersRealFailChanged.dataExpected
            gavelResult: pointerFixtures.testsHeaders.headersRealFailChanged.gavelResult
          }
          result = jsonResultConverter.getLinesFromResults()
          result = JSON.parse JSON.stringify result
          assert.deepEqual result, expectedOutput

  describe 'regression test for migration from amandaResults to JSON pointer based results in headers in key missing', () ->

            dataReal: arrayFixtures.testsHeaders.headersRealFailValueCase.dataReal
            dataExpected: arrayFixtures.testsHeaders.headersRealFailValueCase.dataExpected
            gavelResult: arrayFixtures.testsHeaders.headersRealFailValueCase.gavelResult
            usePointers: false
          }
          result = jsonResultConverter.getLinesFromAmandaResults()
          result = clone result, false
          assert.deepEqual result, expectedOutput

    describe 'getLinesFromResults', () ->
