LPS-35605 convert expandoValue to correct type