Document plugin request/response format.
missing closing brace
start adding test for plugin registry