how about?
```
if (it == storages_.end()) {
  PostAsyncErrorReply(msg, NOT_FOUND_ERR);
  return;
}

picojson::object storage_object = it->second.toJSON(it->first);
PostAsyncSuccessReply(msg, storage_object);
```