fix saving, loading and json serializatin of non-persistent forms (0xFF* form id). thanks to verteiron for insight