Changed the way xmltodict module is imported

- Import during REST call only.
- If module is not present, exception caught and reported on CLI

Change-Id: I699ff606d52251066f0acf19b34bc79211fafcbf
Merge "Changed the way xmltodict module is imported"