"Parse API-produced JSON as a contract" is exactly the kind of programming problem pure functional languages were supposed to solve.
And we're building horrific and error-prone rube-goldberg machines to bolt onto our functional programming languages instead.