JD Martinez signs with Dodgers in steal of a deal