support JSON hash/array in filter_record_transformer

a proposed implementation for #521 
JSON can express interger like `{"foo":1}` so, `else` is required.