Improve getLagTimes.php output and add statsD flag