Fix some bugs with exporting hidden services info