modify seeds for randomness
build recursion for creating json objects from nodes