Catch Any problems with case classes with type parameters