Json output

Add support for basic JSON generation in Calendars
Chat offline sometime later about what you mean here?