generic_put() for raw/convert put