Fix custom fields of accounts update credentials
Parameter name is different from that of Mastodon API. So rename fields
to fields_attributes
.
Change to delete custom field just like Mastodon when it name is an empty string.
Change type of fields_attributes
to map
from tuple
when patch request to update_credentials using :urlencoded
or :multipart