Added json attribute remove function.