You show it saving correctly above, I don't follow.
Are you saying it is saving John Smith space space space space space space space space space space, etc.
Check with PostgreSQL Docs and see if that's normal behavior , it don't sound right.
You could use trim temporarily until you find out why.