improved sqlstore to not use eval/repr