Added JSON writer.