Adding the ability to base64 encode data so that it works with postgres with no problem