Formatted json_test.go
Added NewPipeFunc to replace the Process method, and added ReadMap and ReadArray
Fixed json_test.go to work with NewPipeFunc