remove codecs.register() that interfere  django-rest-framework.