Add function to skip fields with with specified value in record to json