return js object array with version and path properties