Correctly decode base64 text parts before returning them