Updated param mapper to use path params