add stats interface.hits transfor to json format.