PDI-8395 - JSON Output step only outputs last line of transformation if
append is not checked.

junit tests added
PDI-8395 - JSON Output step only outputs last line of transformation if
append is not checked.

fix added