dxpy: Add index and metadata options to .get_output_ref