Allow for 'key' => 'value' in insert.

Updated the insert method to allow for 'key' => 'value' without any need for the value to be an array.