Json types

There's a singleton for this.