Basic test for interface-based JSON deserialisation.

- No URI magic yet.