add suppor nested parsing