adapte matching results to restful
Merge pull request #48 from YanshuoH/yhuang/matching_results_restful

adapte matching results to restful