Json output

Add support for basic JSON generation in Calendars