add final patches in and update json. create (unused) template for filter elements