fix for number to dynamodb conversion