fix bug with coordinate json throwing off knex