Add event span functionality to JsonUtil