Json class supports object type QueryResult
Random strings should use more secure random number generation
Fix line endings on files without unix line endings