fixes construction of result types list from the introspection document

Was only ever getting ("out") as the list of a method's return types. Fix is simple enough.