basic json dumping added