[PDI-12472] - JSON Output Functionality Changes Significantly in 5.1 from 5.0

Rolling back to a known good state
Merge pull request #622 from rfellows/dev

[PDI-12472] - JSON Output Functionality Changes Significantly in 5.1 from 5.0