Improve results display in REPL.

Results in REPL were printed using the default output method which do not provide unlimited depth traversal. Passing a custom writer to the repl allows to specify an unlimited depth which matches the output provided by non-repl evaluations.