view user to json