WIP: implement parameter mapping for api methods
bugfix in Response::getMessage