added support for arrays in 'data'

Support for sending multiple values for a field (for example, tags).