when passing an object into an attributeName it iterates through all the keys building prefixed attrs