Use protocol's extended type encoding

This is better than parsing headers with a python script to extract return types