Mimicking general relativity in the solar system