refactored the loop for rendering of arrays
refactored the loop for rendering of arrays

jamesqiu2001/test,stanio/jsonview,bhollis/jsonview,vogelsgesang/jsonview,jamesqiu2001/test,vogelsgesang/jsonview,bhollis/jsonview,bhollis/jsonview,urandu/jsonview,urandu/jsonview