fixed validation when storing data entry and dataset metadata
Pass complex exceptions correctly across webservice