Pass trip distance as JSON when returning Trip as AJAX