Added json type to permitted fields