Fixes json loading from dictionary bug

_rawMetadata is already a dictionary
Fixes ec2 instance bug

As openstack has a different url for metadata retrieval, the request to the metadata url fails