fixes construction of result types list from the introspection document