space is 3D, but the information content can be encoded on a 2D hologram. general relativity works, mass-energy is curving spacetime, it just happens to do it in a way, that these curves and slopes and ... the whole 3D geometry can be flattened to 2D without loss of information.