ipython notebook for converting data to JSON