Backward compatibility - do not decode http based public ids before encoding