Got ensemble and json working.