Fix output of certificate element
Handle special behaviour of star_rating, film and genre in parser
Handle extra newline before exception using try..except
Make file start hour configurable and default to 6am
Write elements and attributes in a deterministic order
Handle elements with child elements in write wrapper function