Add '$' key references and '<' slurp file prefixes in sdb_query