updated json definition
Added json data to node_role and workflow to api.md
Merge pull request #16 from derekbergin/master

+2 More json data added and workflow added to api.md