Move JSON cache to TileJSON layer. Refs #270