Store visibility in JSON cache