code cleanup for passing lots of args recursively
make render_body_server work without access to any local copy of the code