Loosen types to allow for BSONObjects or Dicts (closes #16)