refactor: renderPath() extracted
handling of filed/path param in render() and dump() should act in same way