NXP-14556: fix pojo name fetching when registering marshaller in automation client