adjust setBody to correctly be typed for JSString