use streams instead of string representation for body content