Add preprocess docs, fix garbage in/out bug

Add documentation on how to use the preprocess option.

Fix a small bug when a user returns back a non-string value.
I'm a fanatic for code that is _readable_ more then _functional_ so having feed back like this is super helpful. :wink: