Modified dynamodb2.table.scan() to accommodate attributes arg, so that only specified tuple of attributes are fetched in scan.