Made stack order correctly for currentPath and moved pop for ObjectEnd and ArrayEnd to the next read so that the path is still correct at ObjectEnd and ArrayEnd