updated json definition
Added json data to node_role and workflow to api.md