Update Chapter2.ipynb

Needs to import json for dumps/loads
Merge pull request #4 from jwsy/patch-3

Update Chapter2.ipynb