extend xpath by merge_lists function, respond to dynamic keys