This is workaround for current JSON serialization.
This is workaround for current JSON serialization. It places Int's to List[Double] and that causes exceptions. WARNING: this method is very heavy, use only when you are not sure if list is pure, e.g. read from JSON.