simplified json parsing of numbers