replaced resource timing metrics array by regular object traversal checking for 'Start' or 'End'