REFACTOR new version in filab: json representation