added JSONtype for use in local card reconstruction