Use Json for the elements and styles definitions