Those are internal and are subject to change as the protocol changes. Meanwhile the JSON is actually subject to change too... But whatever. You may implement your own form system using the pocketmine\form\Form interface, but using libFormAPI is easier.