Flavor resource: adds capacities to serialization and also get_one method