Bug fixes for JSON importing and, well, JSON importing works now.