b64encode instead of split-join-dance