attempt to parse type from details dict