changed json format to object with each player as key