Made base64 output as plain text instead of JSON