add endpoint in request and interface, fix safe json parsing
Merge remote-tracking branch 'origin/master'