New json config system. Started rewriting ItemWithVariant