script to get all active players to json