Fix REST asset creation