return references as array of pairs {"reference"=>ref}