adding customerWithJSON constructor