Element form default

Quite right, @dhyanchand,

Updated PR to use 'prefix' when object is an Object, too.  (Was only using prefix when object was an Array.)