json output fixed for course info