Avoid generating an extra space in SerializedFormConstructor

Changed printMethod to printConstructor. Avoids generating an extra space.