Implements json switch to editor