Simplejson upgrade

This PR follows suggestions in #1863 . HttpResponse adjustment including 'mimetype' deprecation. All affected links should be tested