Sounds like his digestive tract is not happy.
The fasting and peas is supposed to give the digestive tract a rest and then the peas are supposed to act as a laxitive.
What I think happens with goldies who flip is that the commercial food has ingredients that sit in the intestine and produce gas... so their bottom gets more bouyant than their top. I saw evidence of this when my daughter fed my goldies a bunch fo flakes. They didn't flip... but their poop was VERY floaty. Their usual poop from their totally fresh diet sinks.
The swollen belly worries me. Is the poop floaty?
Yes, Goldies need meat as well as veggies to provide essential amino acids and essential fatty acids that they can't make on their own. Here's a good article on
goldie nutrition.
I think the freeze dried bloodworm and daphnia would be ok to feed as long as they don't contain any additional ingredients. You'll need to soak them before feeding. Cocktail shimp are also good protein source.
Consider making some gel food. A quick and easy recipe is
2 sardines chopped up very fine (into a mush preferably)
1 jar babyfood veggies (e.g. peas or green beans, no sugar/salt added)
1 pack of unflavored gelatine.
mix it up well and microwave until it boils. Pour into a flat container and let it cool a bit, then stick it into the fridge till it sets up. Then you can cut it into small cubes to feed it.