fix non-json message output
add query examples to help output