TODO encode? comments for jose_b64encode