Changed format of resources in definitions file from array to object.
added resource name values.