Ported the code for exporting the VRA records.

References #301.