Return a python object instead of a ctype structure