Only collect JSON when using XML configuration files.  Closes #84.