Fix regression where raw buffer was being deployed rather than string