dynamodb persistence model