public function __getSerialisablePropertyMap()
    {

        $serialisableProperties = parent::__getSerialisablePropertyMap();
        $dynamicProperties = $this->__dynamicPropertyMap;

        $map = array();
        foreach ($dynamicProperties as $key => $value) {
            $map[$key] = $value;
        }
        foreach ($serialisableProperties as $key => $value) {
            $map[$key] = $value;
        }

        // Merge our dynamic properties in and return.
        return $map;

    }