A JSON based diary system