Moving the JSON coder methods around some more.