[long-tx-api] Don't store the contents in a String, store them in a JsonElement instead