MIFOSX-920 - corrected parser to return number if it is bigdecimal