use json to encode user list