Make life easier with some structure

  1. Keep elements as separate JSON / Javascript objects