Simplified the process of converting tmux output into objects