support for request.context

added context to RESTMapper constructor