toString() is now known as toJson(). It raises an exception if a variant
was not properly initialized.
Test that a toJson() on an initialized variant fails, gracefully.
Fail toJson() with an exception indicating uninitialized record field.
Test error on missing field during toJson()
Merge pull request #5 from timeco/mj/errors

Nice errors when attempting to serialize an incomplete record or variant