Add tree JSON data generator and AVM generation only on demand now