added version tree JSON parsing