InventoryScript: better syntax checking for json stream