changed json attribute visibility