visitor mysql: use json functions only with version supporting aggregations
visitor mysql: use json functions only with version supporting aggregations

Faveod/arel-extensions,Faveod/arel-extensions,Faveod/arel-extensions