Replace simplejson with json
Add test_wiring_recovers_from_invalid_views_data