fix two problems with sign and decimal AST processing in json parser and add unit tests to verify fixes