Fix parsing of resource creation output.

 * The results of resource creation were previously not being
   parsed at all, so that new instances would not have their
   property_hash properly populated.  This change ensures
   correct property_hash population.
 * Stop using an instance variable when a local variable (attrs)
   with do.

Change-Id: I88fe3ba964839762d5ad6a431d3d9ab876266fe9