added possiblity to get the body as bytes without needing to convert it to String