add copy constructor of json_value type
avoid 'array subscript has type ‘char’' warning