Use a function to get operation names

Declare print_json
Merge branch 'devel' of github.com:keithj/baton into devel
Completed initial metadata list functions

Refactor of NULL checking