Former Red Sox designated hitter J.D. Martinez agreed to a deal with the Dodgers in the latest low-cost upgrade this winter for the team.