Avoid unnecessary calls to get_parent_xblock in _course_outline_json

Decreases rendering time of Justice course from 5.5 seconds to 3.2