Hidden inputs fields accept associative arrays

This provides a way to pass an associative array of attributes to a hidden input fields instead of passing the entire "extra" content as a string.
Merge pull request #6 from davidmcooper/patch-1

thanks！