Convenience method to convert an array of Pipes into a code string