Allow asset libraries to define .getText as well as .getBytes