Added dict to JSON and JSON to dict