parse root class for passing object