lectures retrieved from database and converted to JSON