WIP: adding legends to data API (for storage)