json and schema support for credit cards