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

 Add json support to scroll, clear scroll, and analyze

Closes #5866