reformats jackson code