update to using json and add sidebar