Improved docs.
Moved value transformation to translator.

 - Added documentation
 - Changed regex to be case sensitive