Read content bodies in ruby-space rather than Java. This helps avoid excessive string re-encoding