migrated set/delete_machine_metadata. untested