macro expansion in request parameters, closes #10