Use start_with? to detect JSON
Updated readme with logging examples