Maybe this wasn't working before because ``for in`` walks the entire prototype chain. ``Object.keys(ob).forEach()`` is generally what you want.