Could this be shortened to `'links': links.subLinks || null`?