Adds new elements json with logic for parsing