Fix issue of undefined items in resource array.
Fix resource timing property names.