Added documentation for json message based plugin api