Add a Log method on Scheme for better debugging

Also add a test case for a specific type to make it easier to debug serialization problems in
isolation (simple cut and paste code)