Parse returned strings into location-list instead of using grep