'Rewrite the model keys to use dots instead of dashes, since thats the syntax
used in Angular models.'

def add_prefix(self, field_name):

    return ((u'%s.%s' % (self.prefix, field_name)) if self.prefix else field_name)
