Improve comments in import_item()
Remove JSON_PRETTY_PRINT as this requires PHP 5.4+
Change default export file extension from XML to JSON