prefer single quotes to double quotes where possible
retrieve more data from callback to minimize dictionary lookups
add formatting to mqtt transport. Closes #115