fixing note json problems