'Returns a dictionary for easy serialization'

def to_json_dict(self):

    keys = ('path', 'size', 'atime', 'mtime', 'mode', 'user', 'group', 'aclBit')
    res = {}
    for k in keys:
        res[k] = self[k]
    return res
