Added helper methods to base64 en/decode php objects for urls using base64