BluePi Interview Question

Converting Nested Hashmap into flat hashmap.