Entity to JSON,entity serialize