added difference between json array and object rendering