JavaScript Destructure and assign to new object
You could take a destructuring assignment with the object and short hand properties for a new object.
const
getParts = ({ a, c, e }) => ({ a, c, e }),
payload = { a: 1, b: 2, c: 3, d: 4, e: 5 },
parts = getParts(payload);
console.log(parts);