An hive UDF function to remove items from a map and return a tree map