downcase object types when constructing output hash to prevent nil errors on case mistmatches in data