title: Nesting and combining annotations for DynamoDB is not working
body: <p>I've got a fairly simple java object structure, with annotations, that is not working. It looks like this:</p>
  
  <pre><code>@DynamoDBDocument
  public class Job {
  
      @DynamoDBHashKey
      private String id;
  
      @DynamoDBAttribute(attributeName = "mapping")
      private Definition definition;
  }
  
  @DynamoDBDocument
  public class Definition {
      @DynamoDBAttribute(attributeName = "calculationMap")
      @DynamoDBTypeConverted(converter = AssignmentsConverter.class)
      private Map&lt;String, Calculation&gt; assignments;
  }
  </code></pre>
  
  <p>The information in dynamo thus looks like this:</p>
  
  <pre><code>mapping: {
      calculationMap: {
          attribute1: "string representing Calculation",
          attribute2: "string representing Calculation"
      }
  }
  </code></pre>
  
  <p>I'd thus expect my java Job object to look like this:</p>
  
  <pre><code>definition: {
      assignments: {
          attribute1: Calculation1,
          attribute2: Calculation2
      }
  }
  </code></pre>
  
  <p>However, the annotations fail to deserialize the map properly. The converter code never gets called, and I end up with a Job object that has a Mapping, but the assignments field in Mapping is null. So basically it looks like this:</p>
  
  <pre><code>definition: {
      assignments: null
  }
  </code></pre>
  
  <p>The converter itself is fairly simple, so I won't provide the code unless requested. However, it shouldn't be causing problem as it's not even being called.</p>
  
  <p>The code was working fine before I added the <code>@DynamoDBAttribute</code> annotations and changed the name of the java fields. The names all match though, so I am worried it might have something to do with the interaction between the various annotations? I'm really not sure.</p>