api: use string type for strings in memclnt.api