deal with weirdness on rest response when calling Stanbol