Return the right structure (value and priority fields)