convert bg's coming from mongolab back to numbers