Biochemical processing of heavy oils and residuum