Adding fix for JSON parsing in the stages_data.js editor

The way JSON.stringify was being called messed up the indentation of the JSON data which main diffing problematic.