Fix the parsing in the contacts command.

The setting (x) and value (y) in x=y, x=y, x=y wasn't getting parsed
correctly and extra whitespace was getting left in.