fixed parser to parse path element keys correctly with numbers