Implemented JSON output (tested only with blank boxes)