:Description: Transform javascript dot notation to bracket notation.
        :param prop: Property to transform.
        :type prop: string
        :example: 'messages.total' >> someObject['messages']['total']
        :return: string

def __d2b_notation(prop):
        """
        :Description: Transform javascript dot notation to bracket notation.
        :param prop: Property to transform.
        :type prop: string
        :example: 'messages.total' >> someObject['messages']['total']
        :return: string
        """
        results = re.compile('[[$a-zA-Z]{0,}.').findall(prop)
        for i in range(0, len(results)):
            results[i] = ("['%s']" % results[i]).replace('.', '')
        return ''.join(results)