support merging of json attributes in regpict.js
build