Improved metadata export from search