Fix the to_dict method to not wrap the price_paid with str()