JS| Difference between json and js object