dynamodb: fix broken query for UpdateItem

Hi,

I got an error "SerializationException" from DynamoDB API when I issued UpdateItem using `func (*Table) AddAttributes`. I found dumped json seems not to comform to [a specification](http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html).

I added a fix/test and do `go fmt`.