Added method .toObject() to MO5.Map.