Version 0.1.3 - use hasOwnProperty to prevent iterating over prototypes