obj.title = (_ref = val.title) != undefined && _ref.length > 0 ? _ref[0] : void 0;