Fixes #1 where JSON serialization was incorrectly including a type for items when there was no itemtype on the item