BluePi interview question

Converting Nested Hashmap into flat hashmap.