re-add debug version
re-add lost call to expand_block_elts
test case work
starting to add sexp encoder