Since the data node can be anything ,can it be checked for the identifier of data and its before or after characters ,so if you put that json in and as a string you can just check for the data keyword and create a string pattern according to what node it is like data :{ or data:[{ ,this might take more computational time because inside the subfields can be those arraynode or object nodes too