Make json versioning requirement more flexible