Fix number parsing in objects

I suppose the numberValue method is now obsolete, and decimalValue is the right match when parsing an object too.