Updated crawler.py

Better json implementation