Server middleware to translate REST-like API requests to exchange ews requests and return json formatted responses