Error proof way to cycle through properties in an object