Jsonpath Access Array Python Methods Vs Functions