Skip empty shapes in .json()