added deep method options for objFlatten