Working version of UIMA-AS wrapper