fix serializing without a data profile, move clone stubs to upload