Free json root object when done reading