convert decimal to string for json serialization