Make JsonWriter actually open file for output in write mode
Merge pull request #5 from billdueber/json_writer_writeable

Make JsonWriter actually open file for output in write mode