Update docs and examples
Update flake config
Allow default to be a callable

Update examples to use callable default
Initialize json attribute in constructor