title: Increment JSON field in Mysql Json column results in float not integer
body: <p>For some reason unknown to me, the below code I use to increment a json field converts it to a float and not an integer</p>
  
  <pre><code>UPDATE tags SET tag_meta = JSON_SET(IFNULL(tag_meta, 
      JSON_OBJECT('insert_count', 1)), '$.insert_count',
      IFNULL(tag_meta-&gt;&gt;'$.insert_count', 0) + 1) WHERE tag_id = 123456789;
  </code></pre>
  
  <p>results in;</p>
  
  <pre><code>{"insert_count": 1.0}, {"insert_count": 2.0}... etc
  </code></pre>
  
  <p>and not</p>
  
  <pre><code>{"insert_count": 1}, {"insert_count": 2}
  </code></pre>
  
  <p>how to just keep it as integers?</p>