Fix integer type warnings in json parser spec