Implemented conversion function as optional last argument for reading. Also see #151.

Along with it fixed that certain decoding and sanitizing should not happen for a cookie's key.
Adding syntax highlighting for remaining code blocks in the README.