Added flatJSON.js