Made private methods protected for context classes

I needed to add some custom JSON steps, and when I extended the `JsonContext` class, didn't then have visibility of the private methods, so switching to protected to make extensible.