* serialize content when some middleware transforms its content to object