Flatten an object bringing the first depth-level of properties to the object root.
SO' answer by jcalz
Flatten an object bringing the first depth-level of properties to the object root.