fixed getPurchased method not returning a JSON object