simple controller
deal json