started simplifying json builder