Add method for converting a list of users to a JSONArray of users in
JSON format