Added a JSON reader/writer