Wand json, generator and test