Regression fix for PandocExporter.

With pandoc 1.12.0.2, the representation of "Space" in the
JSON model finally changed from

"Space"

to

{ "Space": [] }
Fix bug in importing Pandoc images with captions.