module.exports = function serializePath(item) {
  return item.path.reduce((target, part, i) => {
    const isIndex = typeof part === 'number'
    const seperator = i === 0 ? '' : '.'
    const add = isIndex ? `[${part}]` : `${seperator}${part}`
    return `${target}${add}`
  }, '')
}

@@ -149,38 +149,190 @@
 nst 
-seperator = i === 0 ? '' : '.'
+isNumericStringKey = !isIndex && isFinite(part)%0A    const seperator = i === 0 ? '' : '.'%0A    if (!isIndex && !isNumericStringKey) %7B%0A      return %60$%7Btarget%7D$%7Bseperator%7D$%7Bpart%7D%60%0A    %7D%0A
 %0A   
@@ -369,35 +369,27 @@
 t%7D%5D%60 : %60
-$%7Bseperator%7D
+%5B%22
 $%7Bpart%7D
+%22%5D
 %60%0A    re

Fix serialization of numeric object keys (#842)