Auto stringify object values on db insert