Bug 847178 - Avoid exceptions in CryptoRecord.fromJSONRecord.

Band-aids, do you like them?!?