[add] Calendar active/inactive, json dump and load
[add] json decoder/encoder