Javascript node module for programmatic filtering and validation of Json objects