Adding other mime types, fixing parser to avoid breaking on newlines with implied indentation.