Add export as json feature on model course