Make path parsing more robust in the JsonStore.