added recursive json plan to main.html