update python versions in travis
use content_type instead of mimetype in user json view response