tweaks, added the new element data structure as JSON