Refactor reformat_dict_keys()
Refactor reformat_dict_keys()

This way is a little more Pythonic.

Change-Id: Ib48d0e9b7e8a4ed6e220c645a29510c893e97419
Signed-off-by: Zane Bitter <1899fff8e7db19a598ee9d835aa1a232f82ea264@redhat.com>

jasondunsmore/heat,takeshineshiro/heat,steveb/heat,rdo-management/heat,steveb/heat,takeshineshiro/heat,dragorosson/heat,dragorosson/heat,rh-s/heat,citrix-openstack-build/heat,Triv90/Heat,cryptickp/heat,pratikmallya/heat,NeCTAR-RC/heat,pratikmallya/heat,varunarya10/heat,ntt-sic/heat,Triv90/Heat,miguelgrinberg/heat,ntt-sic/heat,Triv90/Heat,redhat-openstack/heat,miguelgrinberg/heat,rickerc/heat_audit,dims/heat,pshchelo/heat,srznew/heat,srznew/heat,redhat-openstack/heat,cwolferh/heat-scratch,noironetworks/heat,pshchelo/heat,openstack/heat,citrix-openstack-build/heat,cryptickp/heat,maestro-hybrid-cloud/heat,JioCloud/heat,jasondunsmore/heat,dims/heat,varunarya10/heat,gonzolino/heat,NeCTAR-RC/heat,rh-s/heat,noironetworks/heat,rdo-management/heat,JioCloud/heat,gonzolino/heat,openstack/heat,cwolferh/heat-scratch,maestro-hybrid-cloud/heat,rickerc/heat_audit