[INTERNAL] removed map has anti-pattern

* added forward declarations for String and IsotopeDistribution