Improve error description for JSON import