Rest: Add json in request body to scroll, clear scroll, and analyze API

 Add json support to scroll, clear scroll, and analyze
TODO: change document

Closes #5866