Python Create Json Object Jquery Css Visibility Attribute