moved predicates to JSON attributes