Added example for JSON & modified existing JSON implementation