Add JSON exception class

Add a general JSON deserialization exception, that adepthub-ext is supposed to use.