added toJSON string to card object