schemaToPostgreSQL refactoring to make field name conversion a public interface