Replace print_r with JSON.stringify to handle dates in JS runtime specs

Returning/emitting Javascript Date objects from map/reduce/list functions currently results in ```JSON::ParserError``` in the ```*Matcher``` classes. The problem appeared to be with the ```print_r``` function that was being used, and replacing those calls with ```JSON.stringify``` corrects the problem with dates and all other specs still pass.