New JSON to object mapper introduced in updateCard method.