Fix the property-based API version parsing to work correctly for unit
tests.
Add unit test class for JSONHeader implementation.