myrialang: refactor compile_to_json from schema_map to catalog
myrialang: refactor compile_to_json from schema_map to catalog

Rather than taking a dictionary of all relations in the system, take a
"catalog" object that has a .get_scheme(relation_name) function.

Catalog can return None if the relation is not recognized.

Signed-off-by: Daniel Halperin <1a02732a15f637c31107256cbee5819e36aa7c67@cs.washington.edu>

uwescience/raco,uwescience/raco,uwescience/raco,uwescience/raco,uwescience/raco