Change the produce and consume type of rest service from json to xml.