fixing request.getParameter() to handle multi-valued fields