add additional toJson() param to filter attributes