added more functions to json utilities