Convert  fields into associative array