check that value is always an object for image fields