Changed the functionality of mapObject. Added unit test. Updated README. Bumped version.