moved things under encoded_value namespace