refactored export results function
fixed post data for pull request