remove usage of payloadobjecttype