Fix number parsing in objects