[Rest] + updated ClassContentController to use [] instead of array()