Cast exception when pushing attachments during replication

Needed to use the AsDictionary<> extension method to get the
attachments to avoid an exception. (It can’t be cast since that object
is really a JSON object)
Missing the `AsDictionary` parens.