Made json object a template class and added default methods load and save file to json object class