Import JsonProtocol inside objects that need it, rather than globally.

Reduces implicit scope