1. add xml response support
2. add xml response in sample controller and its test case