Bf/mapper

API Mapper baby!
this is not necessary since toLower now has a check to validate the object it receives, and beware that in line 20 it says 'object.type' and in line 'object.data.type'. If it makes sense it's ok.
If you did this in order to avoid  'the' to show up, it's ok, but I'm assuming objects always have a type