Fixed a bug in the JSON serialization - exceptions without messages were not handled correctly