Improve support for numeric fields in json extract

Allow numeric fields without quoting in path expressions
Numeric fields match both array elements and object fields
Extract a method `tryParseInt()`