Added simple transformation of field names for output; generalised output function to produce both csv and Django yaml fixture