[WIP] JSON Deserializer

Targets #151

This is highly WIP. Please review the interface definitions before I
start implementing this stuff!
A switch-case, embedded in another switch-case? And even a scope in it?