Made product representation more frontend specific by including subscriptions
Moved sparkline url retrieval to resource function and removed some glue code after changing api