added json like object and dynamic rendering