Just a guess, but I think that the new 'currentblockweight' data that is returned by this endpoint may be causing issues. When I call the endpoint against a recent build from master:
curl --user myrpcuser --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
Enter host password for user 'myrpcuser':
{"result":null,"error":{"code":-1,"message":"JSON integer out of range"},"id":"curltest"}
Similarly, "bitcoin-cli getmininginfo" returns:
error code: -1
error message:
JSON integer out of range