remove use of django.utils.simplejson and some django version < 1.5 tests