Solving problem by serializing both utf8 and base64 bodies