converting all the gen methods from using jsonobjects to using strings.
almost done!
Revert "converting all the gen methods from using jsonobjects to using strings."

This reverts commit 1cde9af99d012d5dea751883cb448e93845a2425.
Revert "Revert "converting all the gen methods from using jsonobjects to using strings.""

This reverts commit ee656893751130c956a103761cd5feeb8112cc30.