to_client() modified and sql-to-mongo conversion file added