Utility function to build an array of request tags