Removed "import re" to see if it will work in Jython Pig.
Made the outputSchema decorator a separate module (when not using Pig)