refactor sqs_reader to work with dynamo_db_local during testing