fix raw json support