Clean up the category guide attributes

Instead of image and thumbnail, just use the standard image structure.
Also fix various bugs related to schema validation.