added json stringify method
funky behavior