title: Generating human readable SWIFT messages using Prowide-Core?
body: <p>I'm using <a href="https://github.com/prowide/prowide-core" rel="nofollow noreferrer">Prowide-Core</a> for SWIFT message handling. At the moment I use the JSON methods to produce human readable versions of my messages if I need to dump them out. This produces output like this:</p>
  
  <pre><code>...
  }, {
    "97A" : ":SAFE//0123-0123456-55-000"
  }, {
  ...
  </code></pre>
  
  <p>I.e. I get alphanumeric codes, like <code>97A</code>, for the field names.</p>
  
  <p>However it I look at <a href="https://github.com/prowide/prowide-core/blob/3863df0e3870770460e3d82f2711d498b38f48e6/src/main/java/com/prowidesoftware/swift/model/field/Field97A.java#L471" rel="nofollow noreferrer"><code>Field97A.java:471</code></a> I can see that it (and all other fields) know their more human readable names (<code>Qualifier</code> and <code>Account</code> in the case of <code>97A</code>).</p>
  
  <p>I've tried looking for some <code>toString()</code> like method that makes use of this information to produce something even more readable than the JSON output but haven't found anything yet.</p>
  
  <p>Is there such a method on <code>SwiftMessage</code> or one of the related classes? Or has someone written something nice that can traverse a message and print it out using the information returned by <code>getComponentLabels()</code> etc?</p>