Handle deleting photos and article with new JSON infrastructure!

When we converted the photo book to JSON, we didn’t deal with making
the delete function work for either photos or articles. Now it works
for photos, and works better for articles!