Overload mapAsObject to work with Collections