How to send base64 string in json javascript. It's passed to the client side as-is in json.