added support for get party customfiled with optionalkey