Add JSONVisitor for testing