A few quick fixes for logic in format response.
Update description, fix some minor PEP8 violations.