minor additions to writer and formatter

Signed-off-by: dvorkinista <villain@noironetworks.com>