Decompose a javascript object into a set of path/value slices.