possibly getting close to writing a file using JSON.simple