#167 Fixes storing of Items (now in alphabetic order)

Item properties are now stored in a TreeMap (which is a sorted map), so items are in alphabetic order written to the JSON writer, which should always be in the same order. Before the HashMap has no order so can be different from run to run, or platform to platform / implementation.