Added exception handling for set_nullable() and
added dictionary checking on var jdata.