added versioning to JSON get/put