General queries for NRAO archive

Adds some new features to the NRAO tool, allowing for non-object-based queries.
This is an important general patch: without this, `get_query_payload` doesn't work for anything.