Plain: fixed a problem with Json formatting

Thanks in advance for merging this.