Added DynamoDB conversion and types