Rename lines to array, get bound expression outside of filter/map callback