Fix for the error with BigDecimal

java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.String
This cast is wrong, toString() is better