MSCRM :: Xrm.WebApi Dealing with different field types

After getting extreamly frustrated and not being able to find and help/blogs regarding this topic here is the information that defines how to deal with different fields types when creating a data object for either Xrm.WebApi.createrecord, or Xrm.WebApi.updaterecord.