Update views.py

Fix return serialize when types are string