commit json reader/writer

When an object contains a list of another object, the reader/writer now
can handle it.