add a shim for __DIR__
add support of JSON iolists
parametrize the SELECT constraints in unframed_sql_select_column
support both callables and templates to invalidate resources