Access Nested Json Dictionary Python Functions Interview