Reformat Application.state.users as an object