- Fixed #10 json_encode fails with "Converting circular structure to JSON"