Added --ktrace-flags to control result schema generation