Added JSON writer