Lewis Hamilton was impressed with Kevin Magnussen's honesty after their hard battle in the Miami sprint race.