ensure each enumerable item is json friendly