fix Json* declaration on copy constructor
Merge pull request #5128 from felliott/declare_json

fix broken OS X build: add Json* declarations to copy constructors