Updating to use an outside json builder for arrays.