Loading yaml into postgres