Modified db.js to allow mapping of simple objects. Useful for angular that add $$hashKey property on object and when using moment() to handle dates.
fixed a bug with ignore mapping
Refactoring and fixing the summary