Add base64 encoding for echo imports