Fixed JSON Import Bugs

Fixed some problems with the JSON import function in the Util package.