NXP-10944 Add a way to configure schemas that should be serialized
NXP-10944 remove useless code