Inserting yaml into db