Add functions to convert between RawObjects and Json.Values