Masked numbers, datetime.date json encoding

@theengineear 

@tschaume - I added your example (https://gist.github.com/tschaume/d123d56bf586276adb98) to our tests - big thanks!