refactored backward compatibility on formstyles to use try except instead of inspecting arguments, should make the new style faster as it never raises the exception
minor - removed unnecessary dict calls