fixes to mojo template: added b64decode and encode to Util