Optimized Integration and Form XMLOutput queries