parse with NumberFormatInfo.InvariantInfo everywhere

closes #5240
fix trailing comma