Takes all entries corresponding to the given keys in map and extracts them into a separate map.
Object: Location of the object to work on Key: Key where the to split the object
Output-location: Location to store the output data