Change transaction action format to json and compress json data