Fix logging
Move the logic for munging the data to a loggable form out of the logger
Merge pull request #28 from zspencer/improve_logging_of_experiments

Fix logging