Create view.py

View, always return JSON.