$end = [ [ 'lineitem', 'invoice' ], [ 'market_x_branch', 'insurer' ] ];