Account for object constants on either side of string