Par if you can make that deal with no money changing hands good luck to the Sox.
For 4 1/2 months of Hamels for the cost of Youk and Morales and part with Beckett's remaining salary for the next three years, by itself, would be a steal-IMHO.