OPENNLP-725 now the serializer is chosen from dict attribute and element tag

git-svn-id: https://svn.apache.org/repos/asf/opennlp/trunk@1634634 13f79535-47bb-0310-9956-ffa450edef68