Those are “smart quotes”, which, as far as the system goes, aren’t quotes at all, and are being included in your sensor state.
Should be (look carefully, and copy and paste this):
value_template: "{{ value_json.Value | int }}"
I would imagine this has arisen from someone not following the formatting guidelines, then you copying out incorrectly-formatted code into your configuration.