Typescript Map Json To Key Value In Python