removed some duplicate functions

There were two or three render functions that essentially did the same
thing. (translate array or object into a list). the duplicate ones were
removed.