putting data into insertable form: #MSG-226 In Progress