Implement output of rectangles and buffers
Added *.json files to .gitignore