Add proper date support to JSON converter.
Add files sort support.