Text this: Four-dimensional phase space tomography from one-dimensional measurements of a hadron beam