[MPS/ZH] [65727730] override to_hash to provide text values for image and input elements