Further implementation of mongodb; adjusted json as result of timetables