Working on JSON database. Set up base data structures