bugfix for array_map use in DynamoDb service