Add field tags to struct for JSON marshaling.