split encrypt/decrypt methods into two pairs: actual encrypt/decrypt + json encode/decode

patch for the issue https://github.com/bitwiseshiftleft/sjcl/issues/121