Chemical reforming by fermentation