Turn definitions/properties into hashes keyed to names