send JSON on indexing operations

see https://github.com/mycozycloud/jugglingdb-cozy-adapter/pull/10