Added selection export to rest API
Merge pull request #788 from lev-kuznetsov/master

Added selection export to rest API