Added serializePrices