Simple JSON database homework assignment (day 11)