Fix json Wshadow warnings.