Support array of fields to set

closes #2