HR-Export [MJ-504][MJ-505]

This pull request is for both HR-XML export and HR-JSON export. 

All tests pass