rest server which provide rest API via json and Xml