A simple lib to validate and normalize parameters