[aws] get_topic_attributes handle nil values

* also correctly `rstrip` `RequestId`