fixing JSON contract for matches