Fix timezone parsing issue
Modified the generator to allow field type and index specifications