private FieldValuePair[] GetPairs(AphidObject source, string property)
 {
     if (source.ContainsKey(property))
     {
         return source[property]
             .Select(x => new FieldValuePair(x.Key, x.Value.Value.ToString()))
             .ToArray();
     }
     else
     {
         return null;
     }
 }
 private HttpUpload[] GetFiles(AphidObject source)
 {
     if (source.ContainsKey("files"))
     {
         return source["files"]
             .Select(CreateUpload)
             .ToArray();
     }
     else
     {
         return null;
     }
 }