pretty print payloads for debug/logging
fix bug with int to string conversion
v0.9.3