Added content-type header in Entity listener