Support json array / object in new configuration format