replaced the old way of getting content types list with the one using JS REST Client