[groceries] Created PCL version, and added JSON serialization